package com.lee.autowireresource;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Component;

/**
 * @Description TODO
 * @Author winston
 * @DateTime 2022/2/23
 */
@Component
public class TargetDemo {

//    @Resource
    @Autowired
    private A c;

    public A getA() {
        return c;
    }
}
